import getters from './vuepages/store/getters.js';
import userStore from './vuepages/store/modules/user.js';
import appStore from './vuepages/store/modules/app.js';
import permissionStore from './vuepages/store/modules/permission.js';
import settingsStore from './vuepages/store/modules/settings.js';
import tagsViewStore from './vuepages/store/modules/tagsView.js';
import customStore from './vuepages/store/modules/custom.js';

const modules = {
    user: userStore,
    app: appStore,
    permission: permissionStore,
    settings: settingsStore,
    tagsView: tagsViewStore,
    custom: customStore,
};
const store = new Vuex.Store({
    modules,
    getters
});

new Vue({
    router,
    store,
    created: function () {
    },
    render: h => h(app),
}).$mount('#app');